Following types of files are supported in OpenCV library: Windows bitmaps – *.bmp, *.dib JPEG files – *.jpeg, *.jpg Portable Network Graphics – *.png WebP – *.webp Sun rasters – *.sr, *.ras TIFF files – *.tiff, *.tif Raster and Vector geospatial data supported by GDAL